export const table = {
	printable: ".ant-table",
	type: "html",
	header: "<h1>Custom Header</h1>",
	style: `
    table, th, td {
      border: 1px solid black;
      padding: 8px;
    }
    .ant-table-thead > tr > th {
      background-color: #f0f0f0;
      font-weight: bold;
    }
    .ant-table-tbody > tr > td {
      vertical-align: middle;
			overflow-wrap: break-word; 
    }
   table {
      border-collapse: collapse;
      width: 100%;
  }
  th, td {
      border: 1px solid black;
      padding: 8px;
      text-align: left;
  }
  th {
      background-color: #f2f2f2;
  }
  `,
	scanStyles: false, // 忽略页面上的现有样式
	honorCSS: true, // 尊重页面上的 CSS 样式
	targetStyles: ["*"] // 或者只包含某些样式
};
export const image = {
	printable: "", // 相对于当前页面的URL
	type: "image",
	scanStyles: false,
	honorCSS: true,
	targetStyles: ["*"]
};
export const pdf = {
	printable: ``,
	type: "pdf",
	scanStyles: false,
	honorCSS: true,
	targetStyles: ["*"]
};
